package main

import (
	"2212b/happy_orange/api"
	"2212b/happy_orange/config"
	"2212b/happy_orange/inits"
	"github.com/gin-gonic/gin"
)

func main() {
	config.InitsConfig()
	inits.InitMysql()
	router := gin.Default()
	api.LoadRouters(router)

	router.Run(":8899") // 监听并在 0.0.0.0:8080 上启动服务
}
